// 测试直播推流
import http from '@/utils/request.js'

// 课程列表
export const getList = (data) => {
	return http.post('/api/course/list', {
		...data
	})
}

// 课程详情
export const getone = (data) => {
	return http.post('/api/course/getone', {
		...data
	})
}
// 课程详情
export const category = (data) => {
	return http.post('/api/category/list', {
		...data
	})
}

// 课程详情
export const updateCourse = (data) => {
	return http.post('/api/member/update_course_hour_progress', {
		...data
	})
}